MODULE	'graphics/rastport'

CONST	PCMYELLOW=0,
		PCMMAGENTA=1,
		PCMCYAN=2,
		PCMBLACK=3,
		PCMBLUE=0,
		PCMGREEN=1,
		PCMRED=2,
		PCMWHITE=3

OBJECT ColorEntry
	ColorLong:LONG,
	ColorByte[4]:UBYTE,
	ColorsByte[4]:BYTE

OBJECT PrtInfo
	Render:LONG,
	RP:PTR TO RastPort,
	TempRp:PTR TO RastPort,
	RowBuf:PTR TO UWORD,
	HamBuf:PTR TO UWORD,
	ColorMap:PTR TO ColorEntry,
	ColorInt:PTR TO ColorEntry,
	HamInt:PTR TO ColorEntry,
	Dest1Int:PTR TO ColorEntry,
	Dest2Int:PTR TO ColorEntry,
	ScaleX:PTR TO UWORD,
	ScaleXAlt:PTR TO UWORD,
	DMatrix:PTR TO CHAR,
	TopBuf:PTR TO UWORD,
	BotBuf:PTR TO UWORD,
	RowBufSize:UWORD,
	HamBufSize:UWORD,
	ColorMapSize:UWORD,
	ColorIntSize:UWORD,
	HamIntSize:UWORD,
	Dest1IntSize:UWORD,
	Dest2IntSize:UWORD,
	ScaleXSize:UWORD,
	ScaleXAltSize:UWORD,
	PrefsFlags:UWORD,
	Special:LONG,
	XStart:UWORD,
	YStart:UWORD,
	Width:UWORD,
	Height:UWORD,
	Pc:LONG,
	Pr:LONG,
	Ymult:UWORD,
	Ymod:UWORD,
	EtY:INT,
	XPos:UWORD,
	Threshold:UWORD,
	TempWidth:UWORD,
	Flags:UWORD
